package cn.inps.platform.springbootdemostarter;


        import org.springframework.web.bind.annotation.RequestMapping;
        import org.springframework.web.bind.annotation.RestController;

        import javax.annotation.Resource;

/**
 * @author xxx
 */
@RestController
public class TestController {

    @Resource
    private DemoService demoService;

    @RequestMapping("/test")
    public String getNewChar(String word)
    {
        return demoService.insert(word);
    }
}
